/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.test.base;

import info.peigen.hotpot.manage.core.manage.repository.service.UserManageRepository;
import info.peigen.hotpot.manage.core.repository.mapper.*;
import info.peigen.hotpot.manage.core.repository.service.*;
import lombok.AccessLevel;
import lombok.experimental.FieldDefaults;
import org.beetl.sql.solon.annotation.Db;
import org.noear.solon.annotation.Inject;

/**
 * <b>(HotpotManageRepositoryTestBase)</b>
 * 仓储服务测试用例基类
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
@FieldDefaults(level = AccessLevel.PROTECTED)
public class HotpotManageRepositoryTestBase extends HotpotManageTestBase {
    @Db("dataSource")
    RoleMapper             roleMapper;
    @Db("dataSource")
    RelationMapper         relationMapper;
    @Db("dataSource")
    OrganizationMapper     organizationMapper;
    @Db("dataSource")
    UserMapper             userMapper;
    @Db("dataSource")
    PositionMapper         positionMapper;
    @Db("dataSource")
    ResourceMapper         resourceMapper;
    @Inject
    RoleRepository         roleRepository;
    @Inject
    RelationRepository     relationRepository;
    @Inject
    OrganizationRepository organizationRepository;
    @Inject
    UserRepository         userRepository;
    @Inject
    PositionRepository     positionRepository;
    @Inject
    ResourceRepository     resourceRepository;
    @Inject
    UserManageRepository   userManageRepository;
}